package com.hero.gateway.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableZuulProxy // 启动类，加载改Zuul的配置，配置会在启动的时候进行加载路由服务
public class HeroGatewayZuulApplication {

    public static void main(String[] args) {
        SpringApplication.run(HeroGatewayZuulApplication.class, args);
    }

}
